package com.dmjj.common.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author 王丽凯
 * @Description: TODO
 * @Title: LogUtils
 * @ProjectName dmjj-parent
 * @date 2019/1/12
 */
public class LogUtils {

    /**
     * @Description: 平台操作
     * @author 王丽凯
     * @date 2019/1/12
     */
    public static Logger getPlatformLogger(){
        return LoggerFactory.getLogger(LogEnum.PLATFORM.getCategory());
    }

    /**
     * @Description: 异常错误日志
     * @author 王丽凯
     * @date 2019/1/12
     */
    public static Logger getExceptionLogger(){
        return LoggerFactory.getLogger(LogEnum.EXCEPTION.getCategory());
    }
}
